FROM openjdk:8

MAINTAINER lyynzj

ADD ./target/test-jenkins-1.0-SNAPSHOT.jar ./app.jar

EXPOSE 8899

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-Duser.timezone=GMT+8","-jar", "app.jar"]

CMD ["--spring.profiles.active=prod"]
